﻿using SHZY.Common.Const;
using SHZY.Common.Contracts;
using SqlSugar;

namespace SHZY.Business.WMS.Entitys;

/// <summary>
/// 入库通知单实体.
/// </summary>
[SugarTable("wms_busi_in_notice","入库通知单")]
[Tenant(ClaimConst.TENANTID)]
public class WmsBusiInNoticeEntity:CLDEntityBase
{
    /// <summary>
    /// 订单编号.
    /// </summary>
    [SugarColumn(ColumnName = "F_OrderNo", ColumnDescription = "订单编号")]
    public string OrderNo { get; set; }

    /// <summary>
    /// 工单单别.
    /// </summary>
    [SugarColumn(ColumnName = "F_WorkOrderTypeNo", ColumnDescription = "工单单别")]
    public string WorkOrderTypeNo { get; set; }

    /// <summary>
    /// 工单单号.
    /// </summary>
    [SugarColumn(ColumnName = "F_WorkOrderNo", ColumnDescription = "工单单号")]
    public string WorkOrderNo { get; set; }

    /// <summary>
    /// 物料id.
    /// </summary>
    [SugarColumn(ColumnName = "F_MaterialId",ColumnDescription = "物料id")]
    public string MaterialId { get; set; }

    /// <summary>
    /// 物料code.
    /// </summary>
    [SugarColumn(ColumnName = "F_MaterialCode",ColumnDescription = "物料code")]
    public string MaterialCode { get; set; }

    /// <summary>
    /// 物料名称.
    /// </summary>
    [SugarColumn(ColumnName = "F_MaterialName",ColumnDescription = "物料名称")]
    public string MaterialName { get; set; }

    /// <summary>
    /// 规格.
    /// </summary>
    [SugarColumn(ColumnName = "F_Specification",ColumnDescription = "规格")]
    public string Specification { get; set; }

    /// <summary>
    /// 批次号.
    /// </summary>
    [SugarColumn(ColumnName = "F_BatchNo",ColumnDescription = "批次号")]
    public string BatchNo { get; set; }

    /// <summary>
    /// 数量.
    /// </summary>
    [SugarColumn(ColumnName = "F_Qty",ColumnDescription = "数量")]
    public decimal Qty { get; set; }

    /// <summary>
    /// 单重.
    /// </summary>
    [SugarColumn(ColumnName = "F_SingleWeight",ColumnDescription = "单重")]
    public decimal SingleWeight { get; set; }

    /// <summary>
    /// 备注.
    /// </summary>
    [SugarColumn(ColumnName = "F_Remark",ColumnDescription = "备注")]
    public string Remark { get; set; }

    /// <summary>
    /// 订单日期.
    /// </summary>
    [SugarColumn(ColumnName = "F_OrderTime",ColumnDescription = "订单日期")]
    public DateTime? OrderTime { get; set; }

    /// <summary>
    /// 状态：0  待确认 1已确认2 取消.
    /// </summary>
    [SugarColumn(ColumnName = "F_Status",ColumnDescription = "状态：0  待确认 1已确认2 取消")]
    public int? Status { get; set; }

    /// <summary>
    /// Site.
    /// </summary>
    [SugarColumn(ColumnName = "F_Site",ColumnDescription = "Site")]
    public string Site { get; set; }

    /// <summary>
    /// 袋数.
    /// </summary>
    [SugarColumn(ColumnName = "F_BagSum",ColumnDescription = "袋数")]
    public decimal BagSum { get; set; }

    /// <summary>
    /// 袋.
    /// </summary>
    [SugarColumn(ColumnName = "F_Bag",ColumnDescription = "袋")]
    public string Bag { get; set; }

    /// <summary>
    /// 包装数.
    /// </summary>
    [SugarColumn(ColumnName = "F_Packages",ColumnDescription = "包装数")]
    public decimal Packages { get; set; }

    /// <summary>
    /// 业务组.
    /// </summary>
    [SugarColumn(ColumnName = "F_Business",ColumnDescription = "业务组")]
    public string Business { get; set; }

    /// <summary>
    /// 取消时间.
    /// </summary>
    [SugarColumn(ColumnName = "F_CancelDate",ColumnDescription = "取消时间")]
    public DateTime? CancelDate { get; set; }

    /// <summary>
    /// 取消原因.
    /// </summary>
    [SugarColumn(ColumnName = "F_CancelReason",ColumnDescription = "取消原因")]
    public string CancelReason { get; set; }

    /// <summary>
    /// 取消人.
    /// </summary>
    [SugarColumn(ColumnName = "F_CancelUser",ColumnDescription = "取消人")]
    public string CancelUser { get; set; }

}